package com.vickw.springcloud;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @version 1.0
 * @Description：
 * @Author VickW
 * @Date 2022/2/16 22:57
 */
@SpringBootApplication
@EnableEurekaClient
@EnableDiscoveryClient  // 这个注解用于向使用consul或者zookeeper作为注册中心时注册服务
@Slf4j
public class PaymentMain8001 {
    public static void main(String[] args) {
        log.info("*******************PaymentMain8001开始启动*******************");
        SpringApplication.run(PaymentMain8001.class, args);
        log.info("*******************PaymentMain8001成功启动*******************");
    }
}
